package com.heqiang.entity.manager;

import com.alibaba.fastjson.annotation.JSONField;
import com.heqiang.utils.DateUtils;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Role implements Serializable {

    @Ignore
    private static final long serialVersionUID = 1L;

    private Long id;                    //角色表
    private String name;                //角色名称
    private Byte weight;                //角色级别
    private String description;            //描述
    private String remark;                //其他

    @JSONField(format = DateUtils.formatStr_yyyyMMddHHmmss)
    private Date createTime;//创建时间

}
